﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Domain.Repositories;
using Abp.EntityFrameworkCore;
using Abp.EntityFrameworkCore.Repositories;
using AbpAspNetCoreDemo.Core.Domain;

namespace AbpAspNetCoreDemoV2.Db
{
    public interface IProductRepository:IRepository<Product>
    {
    }

    public class ProductRepository :EfCoreRepositoryBase<AbpDbContext,Product>, IProductRepository
    {
        public ProductRepository(IDbContextProvider<AbpDbContext> dbContextProvider) : base(dbContextProvider)
        {
        }
    }
}
